/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.bizz.common.core.annotation.ExcelDictImportValidate;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 园区安全基本信息
 *
 * @author pig
 * @date 2023-10-26 09:22:25
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseParkSafeBasicExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


    /**
     * 截止日期
     */
    @ExcelProperty("截止日期")
    @NotNull(message = "截止日期不能为空")
    private Date ineffectiveDate;

    /**
     * 安全风险等级
     */
    @ExcelProperty("安全风险等级")
    @NotBlank(message = "安全风险等级不能为空")
    @ExcelDictImportValidate(enumResolver = "safe_risk_level",message = "安全风险等级类型不存在")
    private String safeRiskLevel;

    /**
     * 危险废物安全处置率
     */
    @ExcelProperty("危险废物安全处置率%")
    private Integer safWasteDisposalRate;

    /**
     * 高空瞭望设备数
     */
    @ExcelProperty("高空瞭望设备数(个)")
    private Integer highCameraNum;

    /**
     * 防洪(潮)设施达到标准
     */
    @ExcelProperty("防洪(潮)设施达到标准")
    private String floodControlStandard;

    /**
     * 是否建有应急指挥中心
     */
    @ExcelProperty("是否建有应急指挥中心")
    @NotBlank(message = "是否建有应急指挥中心不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "是否建有应急指挥中心类型不存在")
    private String existCommandCenter;

    /**
     * 是否具备应急通信设施
     */
    @ExcelProperty("是否具备应急通信设施")
    @NotBlank(message = "是否具备应急通信设施不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "是否具备应急通信设施类型不存在")
    private String existCommFacility;

    /**
     * 对关键生产区域实行全封闭化管理
     */
    @ExcelProperty("对关键生产区域实行全封闭化管理")
    @NotBlank(message = "对关键生产区域实行全封闭化管理不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "对关键生产区域实行全封闭化管理类型不存在")
    private String existKeyAreaClosedManage;

    /**
     * 对重大危险源实行全封闭化管理
     */
    @ExcelProperty("对重大危险源实行全封闭化管理")
    @NotBlank(message = "对重大危险源实行全封闭化管理不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "对重大危险源实行全封闭化管理类型不存在")
    private String existGreatDangerClosedManage;

    /**
     * 园区内是否有村庄
     */
    @ExcelProperty("园区内是否有村庄")
    @NotBlank(message = "园区内是否有村庄不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "园区内是否有村庄类型不存在")
    private String existInnerVillage;

    /**
     * 园区内是否有学校
     */
    @ExcelProperty("园区内是否有学校")
    @NotBlank(message = "园区内是否有学校不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "园区内是否有学校类型不存在")
    private String existInnerSchool;

    /**
     * 园区内是否有劳动力密集型非化工生产企业
     */
    @ExcelProperty("园区内是否有劳动力密集型非化工生产企业")
    @NotBlank(message = "园区内是否有劳动力密集型非化工生产企业不能为空")
    @ExcelDictImportValidate(enumResolver = "yes_no_type",message = "园区内是否有劳动力密集型非化工生产企业类型不存在")
    private String existLaborIntensiveNonChemicalCompany;

    /**
     * 备注
     */
    @ExcelProperty("备注")
    private String remark;

}
